package yesjava;

public class Main {
    public static void main(String[] args) {

        MyObject myObject = new MyObject();
        new Thread(new RunnableMyObject(myObject),"线程A ").start();
        new Thread(new RunnableMyObject(myObject),"线程B ").start();


    }
}